// utils/platform.js
import Taro from '@tarojs/taro'

export const isWeapp = () => Taro.getEnv() === Taro.ENV_TYPE.WEAPP
export const isH5 = () => Taro.getEnv() === Taro.ENV_TYPE.H5
export const isRN = () => Taro.getEnv() === Taro.ENV_TYPE.RN
